Skip to content

docs(skills): objectstack-formula teaches label() over a multi-select and the timestamp() refusal over a date field - #34484

Merged
os-zhuang merged 3 commits into
mainfrom
claude/project-thread-2jkmek
Nov 17, 2026
Merged

os-zhuang merged 3 commits into
mainfrom
claude/project-thread-2jkmek

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #34444
Fixes #34450

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:对外发布的 objectstack-formula 技能补两句已上线行为——label() 用在多选字段上会按读者语言读出每个已选项的标签、按存储顺序用 , 连接(空选择读 '');timestamp() 只认完整时间戳文本,对日期字段会被构建拒绝(date-text-call),日期平移要写 isoDate(addDays(record.d, n))。各配一条 eval。
  • 为什么改:这两项行为分别由 fix(formula): label() over a multi-select reads each selected option's label, joined #34443、fix(formula)!: refuse timestamp() over a date-only field, which faults on every row #34447 落地,但 AI 作者只读技能、不读文档页;不教的话会继续给每个选项建一个字段,或写出 timestamp(record.borrow_date) + duration('168h') 这种每行都失败的公式。
  • 风险与回滚:只改技能文本、eval、token 棘轮一行和 changeset,不动任何代码与契约。先删三处重复内容付账,余下 +11 token 按维护者常设裁决「A:先削重复,余额按实测提高」抬上限(5997 → 6008)。回滚即 revert。
  • 先看:skills/objectstack-formula/SKILL.md(label(record.f) 行与 Plus CEL built-ins 段,以及三处删除)、scripts/check-skills-token-ratchet.mjs 的 formula 行注释、skills/objectstack-formula/evals/cel-predicates-formulas.json 新增的 11、12 两条。
  • 两分钟验证:node scripts/check-skills-token-ratchet.mjs,预期 formula 行读 6008 / 6008,全部文件在上限内。
  • 需要你做的:审批这个受治理 PR(Tier H,skills/**);席位会在 L1 与达档契约复审通过后补席位记录再请审。

What changes

skills/objectstack-formula/SKILL.md, the published formula skill, now teaches two behaviours @objectstack/formula already ships:

  1. label() over a multi-select (skills/objectstack-formula: teach that label() over a multi-select reads each selected label, joined #34444, the Skills-docs: follow-up of PR fix(formula): label() over a multi-select reads each selected option's label, joined #34443). The label(record.f) row adds: a multi-select (multiple: true) reads each selected label in stored order, joined with , ; '' for null or an empty selection. Wording follows content/docs/data-modeling/formulas.mdx as PR fix(formula): label() over a multi-select reads each selected option's label, joined #34443 landed it.
  2. timestamp() over a date field is refused (skills/objectstack-formula: say timestamp() refuses a date field and teach isoDate(addDays(...)) for date shifting #34450, the Skills-docs: follow-up of PR fix(formula)!: refuse timestamp() over a date-only field, which faults on every row #34447). The built-ins line that lists timestamp(s) adds: timestamp() parses only a full ISO instant, so over a date field (YYYY-MM-DD) the build refuses it (date-text-call), + duration(…) included; shift a date with isoDate(addDays(record.d, n)). Wording follows the formulas page row PR fix(formula)!: refuse timestamp() over a date-only field, which faults on every row #34447 landed and the firstDateTextCall docblock in packages/formula/src/cel-engine.ts (a datetime field's text is an instant and is not refused, so the sentence names the date field only).

skills/objectstack-formula/evals/cel-predicates-formulas.json gains one case per card (ids 11 and 12).

Token ceiling — paid down first, raised by the measured remainder. The file sat at headroom 9. Under the standing maintainer ruling of 2026-10-27, verbatim and untranslated, 「A:先削重复,余额按实测提高」 (ruling record 6513306068, letter B), three restatements were cut, each keeping another home:

Cut Its other home
has() paragraph: "To check for "value present and non-blank" use the stdlib helper isBlank() or compare to null explicitly." the cheat-sheet Null check row (record.foo == null or isBlank(record.foo)) and the next paragraph's "!= null is the whole guard"
template section: "shared/expression.zod.ts declares both surfaces and their carriers." Core contract ("declared as Expression / ExpressionInput in shared/expression.zod.ts"), the table's Carriers column, and See also
translation-table note: "on update and delete events it is bound per matched row — see §5" the §5 previous table's after* / before* / bulk rows; the note keeps its pointer (§5)

Arithmetic in priced bytes (stamp line excluded), against main's 23952: the text adds 321, the cuts remove 243, landed 24030 → ceil(24030 / 4) = 6008. The row moves 5997 → 6008 (+11), pinned at the measurement, with the arithmetic in the row comment. No re-wrap was used to pay.

Line and token readings (os-dev.md, skills/**):

before after
skills/objectstack-formula/SKILL.md lines 492 493
skills/objectstack-formula/SKILL.md tokens 5988 6008
all skills/**/SKILL.md lines (whole package) 4592 4593
all skills/**/SKILL.md tokens +0 elsewhere +20 (this file only)

Net line budget set at the claim: +4 on the SKILL.md; used +1.

Tests

No code changes. The two eval cases are the exercise: id 11 asserts label(record.no_margin_reasons) and refuses a hand-built joinNonEmpty; id 12 asserts isoDate(addDays(record.borrow_date, 7)) and refuses timestamp(record.borrow_date). No existing test was changed.

Acceptance notes

Verification

node scripts/pm/dispatch-gates.mjs --commands derives 66 commands for this diff. They run serially under the verify lock after a full pnpm build; the CMD :: exit N ledger and its --ran reconciliation are posted as a PR comment on the final head when the run ends.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind. (no names added)
  • 3. No formatter ran. (the only script edit is a comment block and one number in scripts/check-skills-token-ratchet.mjs; CI's lint job judges it)
  • 4. One issue, one branch off an up-to-date main, one pull request. (a two-card fold of the same file, both claims name this branch)
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (the 维护者速读 block excepted)
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3

…joined

The objectstack-formula built-ins table now says what the formula engine
does for a select with `multiple: true`: label() reads each selected
value's option label in the reader's locale, in stored order, joined with
", "; an empty selection reads ''. One eval case exercises it.

Claude-Session: https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3
Co-authored-by: Claude <noreply@anthropic.com>
…with addDays

The objectstack-formula built-ins line now says what the formula gate
refuses: timestamp() parses only a full ISO instant, so over a date field
(YYYY-MM-DD text) the build refuses it as date-text-call, plus-duration
arithmetic included, and a date is shifted with
isoDate(addDays(record.d, n)). One eval case exercises it.

Claude-Session: https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3
Co-authored-by: Claude <noreply@anthropic.com>
… by the remainder

Three restatements in skills/objectstack-formula/SKILL.md are cut, each
keeping its other home: the has() paragraph's null-check sentence (the
cheat-sheet Null check row), the template section's
shared/expression.zod.ts sentence (Core contract and See also), and the
translation-table note's per-matched-row clause (the section 5 previous
table). The token ceiling moves by the measured remainder only,
5997 -> 6008, under the standing ruling recorded as 6513306068.
Changeset for the two cards.

Claude-Session: https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 16, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#3 · os-project-manager · session_01FEkQ5nmEyrd1qh95f5Vofd

Contract-review-claim: session_01FEkQ5nmEyrd1qh95f5Vofd · head 3890dfe · 2026-11-16T22:43Z

First L2 on the governed-rules face (skills/**), taken on patrol.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

l2-review#3 · os-project-manager · session_01FEkQ5nmEyrd1qh95f5Vofd

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 3890dfea2e4ff342ebf70812ff26c5a291b52015
Local-runs: none
Scope: skills/objectstack-formula/SKILL.md, skills/objectstack-formula/evals/cel-predicates-formulas.json + scripts/check-skills-token-ratchet.mjs
Security-touching: no

Read: cards #34444 and #34450 (bodies, triage and claim comments), PR #34484 (body, four files, the one claim comment), the net diff from merge-base e8cba8fe to the head (three commits), the head's check-runs, and the cited engine code on origin/main (24b6ae55). Nothing between the merge-base and main touches skills/objectstack-formula/**, packages/formula/** or the ratchet script, so the head's claims are judged against the same engine either way.

① Derived judgments

  • label(record.f) over a multi-select — right. The row now says: each selected label, in stored order, joined with , ; '' for null or an empty selection. On main, optionLabelOf (packages/formula/src/stdlib.ts) hands a list value to labelEachOption, which is values.map(labelOf).join(', '): stored order, separator comma plus space, an empty list reads '', null reads ''. The reader's locale comes from the pinned optionLabels map, as for a single select. Pinned by packages/objectql/src/engine-formula-option-label.test.ts (a select with multiple: true).
  • timestamp() over a date field is refused — right. firstDateTextCall (packages/formula/src/cel-engine.ts, the Formula validation passes timestamp(record.<date field>), which fails on every run against the field's date-only text #34363 arm) finds a one-argument timestamp(...) call whose argument is a field typed date (the dateOnly set built in validate.ts from fieldTypes[name] === 'date'), at any depth, so the + duration(…) form is found too. dateTextCallIssue returns it at severity error under code date-text-call for a formula. A datetime field is not asked, and the skill names the date field only.
  • isoDate(addDays(record.d, n)) — right. addDays(dyn, dyn) coerces date text through toDate (UTC parse of YYYY-MM-DD), shifts on the UTC calendar and returns a Timestamp; isoDate(Timestamp) renders the first ten characters of the UTC ISO text. No host-timezone dependence. It is the shift clause the refusal itself prints, and validate-date-text-arithmetic.test.ts and packages/lint/src/validate-expressions.test.ts pin that this spelling validates clean and evaluates (+7 over 2026-11-16 reads 2026-11-23).
  • Three deletions — right, no teaching lost (see ④ d).
  • Token ceiling 5997 to 6008 — right (see ④ d).
  • No accept-set or public code surface changes: no schema, no validator, no engine file is in the diff.

② Semver level

.changeset/34444-formula-skill-multiselect-label-timestamp-date.md declares @objectstack/skills: patch. The diff publishes skill wording and two eval fixtures for behaviour already shipped; patch is the right level. Clause-②: no and Metadata-protocol: none stand on the PR body and on the changeset, and agree: nothing here narrows or widens what a consumer may author. Check Changeset is green.

③ Boundary flags

  • Open questions: neither card nor the PR body leaves one open. The claim's line budget (net +4 lines on the SKILL.md, one eval per card) is met: +1 line, two evals.
  • Tier flag: the claim and the PR body say the diff was authored at TIER_DEFAULT under the low-headroom exit with an at-tier contract review as the compensating control. This record is that review.
  • Check-runs on the head: 46 runs, none red: 30 success, 16 skipped, none pending. Green among them: Lint & Repo Gates (the token ratchet's home), Check Changeset, PR-body guards, Governed Surface Queue Guard, Build Core and the Test Core aggregate.
  • SQL push-down: n/a. No hunk teaches or adds a query, an id materialisation or an in-app join.

④ Design judgment

(a) label() row, tried against edge cases. A value no option declares reads as stored, per entry (oneOptionLabel); the row does not say so for either the single or the multi case, and says nothing false. A null entry inside a list reads ''; an object entry throws. A cleared multi-select is stored as null (field.zod.ts, the multiple describe), which the row's "null or an empty selection" covers on both stored shapes. The untouched tail of the row (formula fields only, a predicate faults) still holds: the macro's evaluate throws without an optionLabels map.

(b) timestamp() sentence, tried against edge cases. The refusal fires at authoring time, in validateExpression, which os validate, os build and the save door run; "the build refuses it" is the wording the neighbouring date-text callout already uses. In a predicate the code carries an outcome arm (date-text-call-fail-closed and siblings); the skill gives the family name, as the existing callout does. timestamp(record.d + 'T00:00:00Z') is not refused and does evaluate, which agrees with "parses only a full ISO instant". The new sentence and the existing callout ("wrap it in date() first") do not contradict: addDays takes the text as it is, isoDate does not. On a null date the taught formula faults at isoDate and the field reads null; that is the engine's own prescribed rewrite and is unchanged by this PR.

(c) Evals 11 and 12. Each expected output satisfies its own assertions. Id 11: an answer that builds a field per option, a ternary chain, or a hand join through joinNonEmpty (a real stdlib function, so a plausible wrong path) fails. Id 12: the cloud#4717 shape timestamp(record.borrow_date) + duration('168h') fails on both must_contain and must_not_contain; a bare addDays(...) (a Timestamp, where text was asked) fails must_contain. Both prompts test the taught behaviour.

(d) Paydown and ratchet. Each cut sentence keeps a home in the same file at the head:

  • the has() paragraph's null-check sentence: the cheat-sheet Null check row, "!= null is the whole guard" two sentences on, the gate paragraph's != null / == null / !isBlank() list, and the isBlank(v) row;
  • "shared/expression.zod.ts declares both surfaces and their carriers": the Core contract paragraph, the table's Carriers column directly above, and See also;
  • "on update and delete events it is bound per matched row": the §5 previous table's after*, before* and bulk-update rows; the note keeps its (§5) pointer and its insert-event warning whole.
    No remaining sentence refers to a removed one, and nothing left reads differently for the cut.

The ratchet's own rule for a raise (header, "The ratchet discipline"): deletion of restatement in the same file shown in the diff, the standing ruling quoted in the body, the row moved by the measured remainder and pinned at the measurement. All four hold. Blob sizes: 23972 bytes at the merge-base and on main, 24050 at the head; the stamp line is 20 bytes on both; priced 23952 (5988 tokens, headroom 9 under 5997) and 24030, and ceil(24030 / 4) is 6008. Net +78 bytes equals the stated 321 added minus 243 cut. The row comment's arithmetic matches. No eval path gained a ceiling row.

No must-fix, no should-fix.

Nits (no effect on correctness or the contract; left as accepted deviations):

  • N1 (nit) — eval 12's must_contain accepts one spelling only. isoDate(addDays(date(record.borrow_date), 7)) is also correct and would fail, and so would a right answer that quotes the refused timestamp(record.borrow_date) as a warning. Same grader pattern as the existing id 10.
  • N2 (nit) — card skills/objectstack-formula: teach that label() over a multi-select reads each selected label, joined #34444's body lists "a value no option declares reads as stored" in passing; the row does not carry it. The docs page does, and the row never taught it for a single select either.
  • N3 (nit) — the row names multiple: true only. The engine answers any list value, so an inherently multi option type that declares options reads the same way.

Implemented-by: claude/project-thread-2jkmek
Reviewed-by: session_01FEkQ5nmEyrd1qh95f5Vofd

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3

Final head for L1 — 3890dfea2e4ff342ebf70812ff26c5a291b52015

This head is final for review (cards #34444 and #34450, area o2-S).

  • CI on this head: 46 check-runs, 30 success, 16 skipped, none red or pending.
  • Contract review (L2): PASS on this head, comment 6931709340 (l2-review#3), no must-fix, no should-fix; nits N1–N3 left as accepted deviations.
  • Local gates: node scripts/pm/dispatch-gates.mjs --commands derived 66 commands at this head; each ran serially after a full pnpm build --concurrency=2 under os-verify-lock (VERDICT command-exit 0). --ran reconciles: 66 derived, 66 run, 0 NOT-MEASURED, every exit 0.
Gate ledger (CMD :: exit N)
node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0
node scripts/check-adr-0087-registration.mjs --self-test :: exit 0
node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0
node scripts/check-closing-keyword-parity.mjs :: exit 0
node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-declaration-mirrors.mjs :: exit 0
node scripts/check-declaration-mirrors.mjs --self-test :: exit 0
node scripts/check-doc-route-spelling.mjs --advisory :: exit 0
node scripts/check-doc-route-spelling.mjs --self-test :: exit 0
node scripts/check-empty-changeset.mjs --base origin/main :: exit 0
node scripts/check-empty-changeset.mjs --self-test :: exit 0
node scripts/check-self-test-wired.mjs :: exit 0
node scripts/check-self-test-wired.mjs --self-test :: exit 0
node scripts/check-self-test-workflow-commands.mjs :: exit 0
node scripts/check-self-test-workflow-commands.mjs --self-test :: exit 0
node scripts/check-skills-token-ratchet.mjs :: exit 0
node scripts/check-skills-token-ratchet.mjs --self-test :: exit 0
node scripts/check-whole-set-label-write.mjs :: exit 0
node scripts/check-whole-set-label-write.mjs --self-test :: exit 0
node scripts/ci/assert-turbo-remote-cache.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
node scripts/ci/prune-turbo-cache.mjs --self-test :: exit 0
node scripts/ci/snapshot-next.mjs --self-test :: exit 0
node scripts/pm/bare-root-worklist.mjs --self-test :: exit 0
node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0
node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0
node scripts/release-pending-publish.mjs --self-test :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:agent-test-spelling :: exit 0
pnpm check:bash32-floor :: exit 0
pnpm check:changeset-gate-self-tests :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:cli-command-ids :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:corpus-claim-drift :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:merge-driver :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:parse-guard :: exit 0
pnpm check:pm-dispatch-gates :: exit 0
pnpm check:pm-governed-merges :: exit 0
pnpm check:pm-skill-id-lint :: exit 0
pnpm check:pnpm-filter-targets :: exit 0
pnpm check:pnpm-flag-spellings :: exit 0
pnpm check:ratchet-remedy-authority :: exit 0
pnpm check:refd-timer-probe :: exit 0
pnpm check:role-word :: exit 0
pnpm check:scripts-symbol-anchors :: exit 0
pnpm check:skill-compatibility :: exit 0
pnpm check:skill-frame-sync :: exit 0
pnpm check:skill-identifier-liveness :: exit 0
pnpm check:skill-links :: exit 0
pnpm check:watch-hint-literal :: exit 0
node scripts/check-dts-emitted.mjs --self-test :: exit 0
pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
pnpm --filter @objectstack/spec run check:skill-docs :: exit 0
pnpm check:dts-closure :: exit 0
pnpm check:dual-build-cjs-loads :: exit 0
pnpm check:entry-guard :: exit 0
pnpm check:lean-entry-closure :: exit 0
pnpm check:published-files :: exit 0
pnpm check:sourcemap-no-sources-content :: exit 0

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmPmVh4W9sUo12k5XPw

席位核对

L1 verdict: ACCEPT — head 3890dfea2e4ff342ebf70812ff26c5a291b52015 (the head comment 6931830735 declares final). Cards #34444 + #34450 (fold, chain head #34444), area o2-S. Read at 2026-11-16T22:56Z.

Checklist conclusions

  • Shape. Draft, base main, author objectstack-fleet[bot]. Body opens (after the attribution lines) with one closing line per card; both cards are delivered whole (each asks for one sentence in one named place, plus nothing else), so closing both on merge is right. Full-body scan: no closing keyword sits next to any other number (fix(formula): label() over a multi-select reads each selected option's label, joined #34443 and fix(formula)!: refuse timestamp() over a date-only field, which faults on every row #34447 are named as merged PRs, without a verb).
  • Premise (behaviour already landed). Both product PRs are on main: d4e4dfbf (fix(formula): label() over a multi-select reads each selected option's label, joined #34443, label() over a multi-select) and 22bf910f (fix(formula)!: refuse timestamp() over a date-only field, which faults on every row #34447, timestamp() over a date field refused). Read on origin/main: content/docs/data-modeling/formulas.mdx multi-select bullet ("each selected value, in the order the record stores them, joined with , ", "An empty selection reads ''") and the "Date text into timestamp()" row; firstDateTextCall docblock in packages/formula/src/cel-engine.ts (date field only, datetime not asked, shift = isoDate(addDays(<field>, N))); validate-date-text-arithmetic.test.ts pins date-text-call on both the bare call and the + duration('168h') form, and pins isoDate(addDays(record.borrow_date, 7)) clean and evaluating to 2026-11-23. The two new skill sentences say nothing beyond these.
  • Scope. Four files: the SKILL.md, its eval JSON, one ratchet row + comment in scripts/check-skills-token-ratchet.mjs, one changeset. Nothing under content/docs/releases/, no unrelated file. No one-off script in the diff.
  • Changeset. @objectstack/skills: patch; packages/skills/package.json has no private key, so the package publishes and a changeset is owed — it is there. Sentences checked against the diff: (1) the label() sentence (locale, stored order, , , empty reads '' like null) — matches the row and the docs page; (2) the timestamp() sentence (full ISO instant only, date field refused as date-text-call, inside + duration(…) too, shift with isoDate(addDays(record.d, n))) — matches the row and the engine; (3) the paydown sentence (three cuts, +11, 5997 → 6008) — matches the diff and the ratchet reading below. Quoting the standing ruling with its record id has precedent in packages/skills/CHANGELOG.md. Clause-②: no / Metadata-protocol: none agree in body and changeset.
  • Skills lane rules. Taught behaviour is landed behaviour (above). No issue number in the skill text: git diff origin/main...3890dfea -- skills/ | grep '^+' | grep -c '#[0-9]' reads 0. Text stays English. Net line budget set at the claim +4, used +1.
  • Paydown — each cut keeps a home (read at head). has() null-check sentence → cheat-sheet Null check row (L85) and "!= null is the whole guard" (L101–102). shared/expression.zod.ts sentence → Core contract (L52) and See also (L492). "bound per matched row" clause → §5 table rows for update (L333), after* bulk (L336), bulk validation (L337) and before* incl. beforeDelete (L338); the note keeps (§5). Nothing left refers to a removed sentence.
  • Ratchet arithmetic, re-measured. Blob bytes: main 23972, head 24050; stamp line 20 bytes ⇒ priced 23952 → 24030; ceil(24030 / 4) = 6008. node scripts/check-skills-token-ratchet.mjs at head: exit 0, skills/objectstack-formula/SKILL.md is 6008 tokens (ceiling 6008; headroom 0). Raise path = standing ruling 「A:先削重复,余额按实测提高」 (record 6513306068), cuts first, row pinned at the measurement — holds. No re-wrap.
  • Evals. JSON parses. Id 11 / id 12 expected outputs satisfy their own must_contain / must_not_contain. Spot-run at head: check-skill-links exit 0, check-skill-identifier-liveness exit 0.
  • Gates (check-runs on this head). 46 runs: 30 success, 16 skipped, 0 failure, 0 pending. Lint & Repo Gates success, TypeScript Type Check success, Check Changeset success, PR-body guards success, Governed Surface Queue Guard success. The local 66-command ledger in 6931830735 is pinned to this head; I take the check-runs as the gate record and did not re-run the ledger.

Contract review (L2) owed?

Yes — skills/** is governed rules text ⇒ CONTRACT_REVIEW_TIER. It is on file for this exact head: comment 6931709340 (l2-review#3), Served-tier: CONTRACT_REVIEW_TIER, Head-sha: 3890dfea…, VERDICT PASS, no must-fix, no should-fix. Nits N1–N3 there are accepted deviations. Nothing further owed at this head.

Accepted deviations

  • D1 — The body's Acceptance notes still end "Contract review owed.", and the 维护者速读 line 需要你做的 does not yet name the PASS. Both are stale since 6931709340. The seat's final record should correct the six lines and name PASS comment 6931709340 + Head-sha 3890dfea before the approval request. Not a rework item: the seat owns the final 速读.
  • D2 — Authored at TIER_DEFAULT under the low-headroom exit (declared in claim and body); the compensating at-tier L2 is on file (above).
  • L2 nits N1–N3 (eval 12 accepts one spelling; row omits "unknown value reads as stored"; row names multiple: true only) — accepted, as recorded by L2.

Landing tier

node scripts/pm/check-governed-merges.mjs --pr 34484: GOVERNED, Tier H (人合) — skills/** ×2 hit; the low-risk skills arm does not apply (scripts/check-skills-token-ratchet.mjs is outside skills wording); size +58 / −7, under 3000. L1 ACCEPT and an at-tier PASS now stand on the same head, so the seat hands over: pm:awaiting-merge and the approval request to GOVERNED_APPROVERS. This review does not flip ready, arm, or merge.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Seat record · 2026-11-16T22:58Z · Head-sha: 3890dfe

维护者速读

  • 改了什么:对外发布的 objectstack-formula 技能补两句已上线行为。label() 用在多选字段上,按读者语言读出每个已选项的标签,按存储顺序用 , 连接,空选择读 ''。timestamp() 只认完整时间戳,用在日期字段上会被构建拒绝(date-text-call),日期平移改写 isoDate(addDays(record.d, n))。两条行为各配一条 eval。
  • 为什么改:这两项行为由 fix(formula): label() over a multi-select reads each selected option's label, joined #34443、fix(formula)!: refuse timestamp() over a date-only field, which faults on every row #34447 落地,但 AI 作者只读技能、不读文档页。不教的话,会继续给每个选项建一个字段,或写出每行都失败的 timestamp(record.borrow_date) + duration('168h')。
  • 风险与回滚:只改技能文本、eval、token 棘轮一行和 changeset,不动代码与契约。先删三处重复内容付账,余下 +11 token 按维护者常设裁决「A:先削重复,余额按实测提高」(6513306068)抬上限,5997 → 6008。回滚即 revert。
  • 先看:skills/objectstack-formula/SKILL.md 的 label(record.f) 行与 Plus CEL built-ins 段,以及三处删除;scripts/check-skills-token-ratchet.mjs 的 formula 行。
  • 两分钟验证:node scripts/check-skills-token-ratchet.mjs,预期 formula 行读 6008 / 6008。
  • 需要你做的:审批这个受治理 PR(Tier H,skills/**)。L1 ACCEPT 6931899027 与达档契约复审 PASS 6931709340 都在同一 head 3890dfea。批准后席位落地。

席位意见:同意合并。文本与已落地的 formulas.mdx、cel-engine.ts 的 firstDateTextCall 一致;三处删除各有别处承载;token 抬升只付实测余额,并引用了常设裁决。PR 正文 Acceptance notes 里的「Contract review owed.」已被 PASS 6931709340 清偿,以本记录为准。

席位核对

  1. 形态:两卡合一 PR(skills/objectstack-formula: teach that label() over a multi-select reads each selected label, joined #34444、skills/objectstack-formula: say timestamp() refuses a date field and teach isoDate(addDays(...)) for date shifting #34450 改同一文件),3 个提交,4 个文件 +58/−7;Clause-②: no,Metadata-protocol: none(PR 正文与 changeset 同)。
  2. 前提实测:两项行为已在 main(fix(formula): label() over a multi-select reads each selected option's label, joined #34443、fix(formula)!: refuse timestamp() over a date-only field, which faults on every row #34447 已合);措辞照落地文档页与 cel-engine.ts 的 docblock。
  3. 门禁 check-runs:head 3890dfea 上 46 条,0 红(o2-S 读数);check-governed-merges 读 Tier H(棘轮脚本改动使低风险臂不适用)。
  4. 接受的偏差:L1 D1,正文 Acceptance notes 仍写 contract review owed、速读「需要你做的」未点名 PASS 与 head。由本记录的六行校正,不另推新 head(新 head 会让两条审核记录失效)。
  5. 范围外去向:Dates 表「Shift a date」行已有 addDays,不动。Skills-docs: 不适用,本 PR 就是两张 Skills-docs: follow-up 卡本身。
  6. 落地条款:Tier H。授权批准在案后,席位翻 ready 并经合并队列落地;合并后两卡由 Fixes 关闭。

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 16, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 17, 2026 02:12
@os-zhuang
os-zhuang enabled auto-merge November 17, 2026 02:12
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit b3863b7 Nov 17, 2026
52 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-2jkmek branch November 17, 2026 03:00
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

3 participants